package com.ruipeng.shengyapo.model;

import java.util.Date;

public class OrderInfo {
    private Integer ridingOrderId; // 骑行订单（我的行程）ID

    private Integer userId; // 订单的用户ID

    private Integer bikeId; // 自行车ID

    private String bikeNo; // 自行车编号（基本不修改，冗余字段，方便查询）

    private Integer orderNo; // 骑行订单编号（支付平台可能会用到）

    private Date orderCreatetime; // 骑行订单创建时间

    private Date orderEndtime; // 骑行订单结束时间

    private String ridingTime; // 骑行时长

    private String ridingCost; // 骑行话费

    private String ridingPaths; // 骑行路径坐标数组

    private Float ridingDistance; // 骑行距离

    private Float carbonSaving; // 骑行节约排碳量

    private Float consumeKcal; // 骑行消耗能量

    public Integer getRidingOrderId() {
        return ridingOrderId;
    }

    public void setRidingOrderId(Integer ridingOrderId) {
        this.ridingOrderId = ridingOrderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBikeId() {
        return bikeId;
    }

    public void setBikeId(Integer bikeId) {
        this.bikeId = bikeId;
    }

    public String getBikeNo() {
        return bikeNo;
    }

    public void setBikeNo(String bikeNo) {
        this.bikeNo = bikeNo == null ? null : bikeNo.trim();
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public Date getOrderCreatetime() {
        return orderCreatetime;
    }

    public void setOrderCreatetime(Date orderCreatetime) {
        this.orderCreatetime = orderCreatetime;
    }

    public Date getOrderEndtime() {
        return orderEndtime;
    }

    public void setOrderEndtime(Date orderEndtime) {
        this.orderEndtime = orderEndtime;
    }

    public String getRidingTime() {
        return ridingTime;
    }

    public void setRidingTime(String ridingTime) {
        this.ridingTime = ridingTime == null ? null : ridingTime.trim();
    }

    public String getRidingCost() {
        return ridingCost;
    }

    public void setRidingCost(String ridingCost) {
        this.ridingCost = ridingCost == null ? null : ridingCost.trim();
    }

    public String getRidingPaths() {
        return ridingPaths;
    }

    public void setRidingPaths(String ridingPaths) {
        this.ridingPaths = ridingPaths == null ? null : ridingPaths.trim();
    }

    public Float getRidingDistance() {
        return ridingDistance;
    }

    public void setRidingDistance(Float ridingDistance) {
        this.ridingDistance = ridingDistance;
    }

    public Float getCarbonSaving() {
        return carbonSaving;
    }

    public void setCarbonSaving(Float carbonSaving) {
        this.carbonSaving = carbonSaving;
    }

    public Float getConsumeKcal() {
        return consumeKcal;
    }

    public void setConsumeKcal(Float consumeKcal) {
        this.consumeKcal = consumeKcal;
    }
}